const router=require('koa-router')();

const {getList,addList,editList,delList}=require('../controller/index')

router.get('/blog/list',getList)
router.post('/blog/list',addList)
router.put('/blog/list',editList)
router.delete('/blog/list/:id',delList)

module.exports=router